import { request } from "@/utils/request";
export const getMemberListApi = (data) => request({
  url: '/getMemberList',
  method: 'get',
  data
})

export const addMemberApi = (data) => request({
  url: '/addMember',
  method: 'post',
  data
})

export const editMemberApi = (data) => request({
  url: '/updateMember',
  method: 'put',
  data
})

export const delMemberApi = (data) => request({
  url: '/deleteMember',
  method: 'delete',
  params: data
})